package the_art_of_java_concurrency_programming.concurrent.Thread;

import java.util.concurrent.TimeUnit;

/**
 * @Author: 李浩然
 * @Date: 2021/4/8 11:44 上午
 */
public class SleepUtils {
    public static final void second(long seconds) {
        try {
            TimeUnit.SECONDS.sleep(seconds);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
